 <!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
</head>
<body>

<!--
web 容器
-->
<div  v-app="myapp" v-controller="mycon"  >
{{"hello"}}
    <br>
    <input v-model="n" >  <!--model动态绑定-->
    {{"n"}}
    <br>
    <input type="text" v-model="p">
    {{"p"}}
</div>


<script  type="text/javascript" src="../vx/jquery-3.2.1.js"></script>
<script  type="text/javascript" src="../vx/vx.js"></script>
<script>/*需要放到引入的下面*/
    var  a=  vx.module("myapp",[]) ;   /*module是一个模块*/
    a.controller("mycon",function ($scope) {
        $scope.n="sd";
        $scope.p="asd";
    })
</script>
</body>
</html> 